package com.lijin.study.java.log4j;

import junit.framework.Assert;

import org.apache.log4j.Logger;
import org.junit.Test;


public class Log4JTest {

	@Test
	public void logTest() throws Exception {
		Logger logger = Logger.getLogger("Test");
		Logger logger2 = Logger.getLogger("Test");
		
		System.out.println(logger);
		System.out.println(logger2);
		
		Assert.assertEquals(logger, logger2);
	}
}
